home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / dalla rivista / host contacted / jikes.lha / jikes-1.11 / src / jcl / jcl_bool.h < prev    next >
C/C++ Source or Header  |  1999-12-09  |  1KB  |  25 lines

  1. // $Id: jcl_bool.h,v 1.2 1999/12/09 18:02:26 lord Exp $
  2. //
  3. // This software is subject to the terms of the IBM Jikes Compiler
  4. // License Agreement available at the following URL:
  5. // http://www.ibm.com/research/jikes.
  6. // Copyright (C) 1996, 1998, International Business Machines Corporation
  7. // and others.  All Rights Reserved.
  8. // You must accept the terms of that agreement to use this software.
  9. //
  10. #ifndef jcl_bool_INCLUDED
  11. #define jcl_bool_INCLUDED
  12.  
  13. //==========================================================================================================================
  14. // We define the type "bool" and the constants "false" and "true".   
  15. // The type bool as well as the constants false and true are expected
  16. // to become standard C++. When that happens, these declarations should 
  17. // be removed.                                                       
  18. //======================================================================
  19. #ifndef TYPE_bool
  20. typedef int bool;
  21. enum {false = 0, true = 1};
  22. #endif
  23.  
  24. #endif /* bool_INCLUDED */
  25.